let proxyObj={}
proxyObj['/']={
  ws:false,//关闭websocket
  target:'http://localhost:8080/', //后端接口url
  changeOrigin: true,
  pathRewrite:{
    '^/':'/'
  }
}
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer:{
    host: 'localhost',
    port: '8081',
    proxy: proxyObj
  }
})
